package com.sunchangpeng.wechat.mp.user.bean;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;

import java.util.List;

@Data
public class User {
    @JSONField(name = "subscribe")
    private boolean subscribed;

    @JSONField(name = "openid")
    private String openId;

    @JSONField(name = "nickname")
    private String nickName;

    private Gender sex;
    private String city;
    private String country;
    private String province;
    private String language;

    @JSONField(name = "headimgurl")
    private String headImgUrl;

    @JSONField(name = "subscribe_time")
    private long subscribedTime;

    @JSONField(name = "unionid")
    private String unionId;
    private String remark;

    @JSONField(name = "groupid")
    private int group;

    @JSONField(name = "tagid_list")
    private List<Integer> tags;
}
